package xyz.zq.cloud.common.security.component;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.ArrayList;
import java.util.List;

/**
 * 放行接口配置
 *
 * @author hzq
 * @date 2020/4/28 21:06
 */
@Data
@RefreshScope
@ConfigurationProperties(prefix = "ignore")
public class PermitAllUrlConfiguration {

    /**
     * 放行url,支持 ant 表达式
     */
    private List<String> urls = new ArrayList<>();

}
